<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div class="login">
    <h1>登录</h1>
    <font color="red" th:text="${msg}"></font>
    <form class="layui-form"  method="post" action="/user/login">
        <div class="layui-form-item">
            <input class="layui-input" name="userName" value="admin" placeholder="用户名"  type="text"
                   autocomplete="off">
        </div>
        <div class="layui-form-item">
            <input class="layui-input" name="password" value="" placeholder="密码"
                   type="password" autocomplete="off">
        </div>

        <input type="submit" value="登录">
    </form>
</div>
</body>

</html>

